package org.example.sdk;

import com.fasterxml.jackson.databind.JsonNode;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ResourceApi {

    @GET("/api/{resource}")
    Call<JsonNode> find(@Path("resource") String resource, @Query("limit") Integer limit, @Query("next_token") String nextToken);
}
